
var mongoose = require('mongoose');
var Schema = mongoose.Schema;

var SocketsSchema= new Schema({
    uid:Number,
    is_active:{
        type:Boolean,
        default:true
    },
    reason:{
        type:String,
        default:''
    },
    socket_id:{
        type:String,
        default:''
    },
    time:{
        type:String,
        default:''
    },
});


var SocketDatas= mongoose.model('SocketObjs', SocketsSchema)

module.exports = SocketDatas;